home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
ansi_d.zip
/
ANSI-D.PPE
(
.txt
)
next >
Wrap
PCBoard Programming Language Executable
|
1993-04-07
|
1KB
|
128 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 1.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
;------------------------------------------------------------------------------
INTEGER001 = 2
STRING003 = " "
BOOLEAN002 = 0
PrintLn "Testing your system capability..."
If (OnLocal()) Goto LABEL001
Print Chr(27) + "[6n"
Print " "
WaitFor Chr(27) + "[", BOOLEAN001, INTEGER001
Goto LABEL002
:LABEL001
BOOLEAN001 = -1
:LABEL002
STRING002 = "Do you want graphics (Enter)="
STRING004 = ReadLine(PCBDat(), 257)
If (BOOLEAN001) Then
STRING002 = STRING002 + "yes"
InputStr STRING002, STRING001, 7, 6, " ;YQNS", 410
If (STRING004) Goto LABEL005
Tokenize STRING001
:LABEL003
If (STRING003 == "") Goto LABEL004
GetToken STRING003
If (STRING003 == NoChar()) BOOLEAN002 = 1
Goto LABEL003
:LABEL004
If (!BOOLEAN002) STRING001 = YesChar() + ";" + STRING001
:LABEL005
Else
STRING002 = STRING002 + "no"
InputStr STRING002, STRING001, 7, 6, " ;YQNS", 410
If (STRING004) Then
Tokenize STRING001
:LABEL006
If (STRING003 == "") Goto LABEL007
GetToken STRING003
If (STRING003 == YesChar()) BOOLEAN002 = 1
Goto LABEL006
:LABEL007
If (!BOOLEAN002) STRING001 = NoChar() + ";" + STRING001
Endif
Endif
KbdStuff STRING001
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 10 Goto
; 12 Let
; 2 Print
; 1 PrintLn
; 10 If
; 2 InputStr
; 2 Tokenize
; 2 GetToken
; 1 KbdStuff
; 1 WaitFor
;
;
; ■ Functions used :
;
; 1 -
; 8 +
; 4 ==
; 8 !
; 2 Chr()
; 2 NoChar()
; 2 YesChar()
; 1 PCBDat()
; 1 ReadLine()
; 1 OnLocal()
;
;------------------------------------------------------------------------------
;
; Analysis flags : d
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------